//
//  main.m
//  level02
//
//  Created by iGxnon on 2021/11/11.
//

#import <Foundation/Foundation.h>
#import "Stack.h"
#import "StackFrame.h"

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        Stack *stack = [[Stack alloc] init];
        StackFrame *stackFrame = [[StackFrame alloc] init];
        stackFrame.name = @"Hi";
        [stack push:stackFrame];
        NSLog(@"%@", [stack pop].name);
    }
    return 0;
}
